package com.ws.ssmzongjie3.service.impl;

import com.ws.ssmzongjie3.bean.Route_Map;
import com.ws.ssmzongjie3.mapper.Route_MapMapper;
import com.ws.ssmzongjie3.service.Route_MapService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class Route_MapServiceImpl implements Route_MapService {
    @Autowired
    private Route_MapMapper route_mapMapper;
    @Override
    public int insertRoute_Map(Route_Map route_map) {
        return route_mapMapper.insertRoute_Map(route_map);
    }

    @Override
    public int deleteRoute_Map(Route_Map route_map) {

        return route_mapMapper.deleteRoute_Map(route_map);
    }

    @Override
    public Route_Map getRoute_MapById(Route_Map route_map) {
        return route_mapMapper.getRoute_MapById(route_map);
    }

    @Override
    public void updateRoute_Map(Route_Map route_map) {
        route_mapMapper.updateRoute_Map(route_map);
    }

    @Override
    public List<Route_Map> listRoute_Map(Route_Map route_map) {
        return route_mapMapper.listRoute_Map(route_map);
    }
}
